package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.ProcessBom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessBomMapper {
    int insertProcessBom(ProcessBom processBom);
    int updateProcessBom(ProcessBom processBom);
    List<ProcessBom> queryProcessBom(ProcessBom processBom);
    int countProcessBom(ProcessBom processBom);
    int checkProcessBom(ProcessBom processBom);
    int deleteProcessBom(@Param("processBomIds") List<Integer> processBomIds, @Param("dataState") Integer dataState);

}